#header {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: @header-height;
  background: data-uri('../img/header.png') no-repeat top center;
  .clear();
}

/* header-user */
.header-user {
  overflow: hidden;
  height: @header-user-height;
}
.header-user-time {
  float: left;
  width: 300px;
}
.header-user-time-item {
  float: left;
  width: 50%;
}
.header-user-time-title, .header-user-time-value {
  float: left;
  width: 50%;
}
.header-user-time-title {
  padding-top: 5px;
}
.header-user-time-value {
  line-height: @header-user-height;
  color: @primary-color;

  em {
    font-size: 20px;
    font-weight: normal;
    font-style: normal;
    margin: 0 2px;
    color: @orange-color;
  }
}
.header-user-time-title-main {
  font-size: 16px;
  line-height: 1;
  margin-bottom: 3px;
  color: @primary-color;
}
.header-user-time-title-sub {
  font-size: 12px;
  color: #656565;
}
.header-user-acount {
  margin-left: 300px;
  min-height: 1px;
  padding-left: 40px;
  padding-top: 10px;
  color: #fff;
  
  .form-group {
    margin-right: 10px;
  }

  .btn {
    text-shadow: none;
  }

  label {
    font-weight: normal;
    // font-size: 12px;
  }

  .form-control {
    color: #fff;
    height: 22px;
    padding-right: 6px;
    padding-left: 6px;
    border: 1px solid #37200f;
    background: #270d03;
    max-width: 100px;

    &:focus {
      border-color: lighten(#37200f, 20%);
      box-shadow: none;
    }
  }

  .btn-forget {
    margin-right: 10px;
  }

  .btn-login {
    color: #3c1709;
    
    &:active,
    &:focus {
      color: #3c1709;
    }
  }

  .input-valid {
    width: 60px;
  }

  .img-valid {
    height: 22px;
    cursor: pointer;
  }

  .btn-primary {
    color: #fff !important;
    border-color: @second-color;

    &:active,
    &:hover {
      border-color: #5a1900;
    }
  }
}
.header-user-logined {
  font-size: 12px;
  color: @primary-color;
  padding-left: 50px;

  .clear();
}
.header-user-logined-focus {
  float: left;
  
  ul {
    .clear();
    padding-top: 3px;

    li {
      float: left;
      margin-left: 10px;

      &:first-child {
        margin-left: 0;
      }

      &.score {
        width: 100px;
        

        .value {
          font-weight: bold;
        }
        .refrsh {
          position: absolute;
          margin-top: -3px;
          margin-left: 7px;
        }
      }
    }
  }

  .value {
    color: @orange-color;
  }
}
.header-user-logined-main {
  float: right;

  ul {
    .clear();

    li {
      float: left;
      margin-left: 10px;

      &:first-child {
        margin-left: 0;
      }

      &.short-user-center {
        .icon {
          vertical-align: -1px;
        }
      }
    }
  }

}
/* /header-user */

/* header-nav */
.header-nav {
  position: relative;
  .clear();
}
.header-nav-logo {
  position: absolute;
}
.header-nav-logo {
  position: absolute;
  top: 0;
  left: 50%;
  width: @header-nav-logo-width;
  height: @header-nav-logo-height;
  margin-left: -@header-nav-logo-width / 2;
  background: data-uri('../img/logo.png') no-repeat center center;
}
.header-nav-item {
  position: relative;
  float: left;
  min-height: 1px;
  margin: 0 5px;

  &:first-child {
    margin-left: 0;
  }
  &._4 {
    margin-right: 315px;
  }
  &._hot:after {
    position: absolute;
    top: 18px;
    right: -8px;
    display: block;
    width: 24px;
    height: 20px;
    content: '';
    animation: tip 1.4s linear infinite;
    background: data-uri('../img/hot.png') no-repeat center center;
  }
  &._new:after {
    position: absolute;
    top: 18px;
    right: -8px;
    display: block;
    width: 24px;
    height: 20px;
    content: '';
    animation: tip 1.4s linear infinite;
    background: data-uri('../img/new.png') no-repeat center center;
  }
  > a {
    font-size: 16px;
    line-height: @header-nav-height;
    display: block;
    height: @header-nav-height;
    padding: 0 16px;
    transition: all .2s;
    border-bottom: 4px solid transparent;

    &:hover {
      border-bottom-color: @primary-color;
    }
  }
}
.header-nav-item:hover .header-drop {
  display: block\9;
  transform: translate(0, 0);
  opacity: 1;
  visibility: visible;
}
.header-drop {
  position: absolute;
  z-index: 100;
  top: @header-nav-height;
  left: 50%;
  display: none\9;
  width: @header-drop-width;
  margin-left: -87px;
  padding-top: 14px;
  transition: all .2s;
  visibility: hidden;
  transform: translate(0, -10px);
  text-align: center;
  opacity: 0;

  &:after {
    position: absolute;
    top: 7px;
    left: @header-drop-width / 2 - 8px;
    display: block;
    width: 0;
    content: '';
    border-right: 8px solid transparent;
    border-bottom: 8px solid #000;
    border-bottom: 8px solid rgba(0, 0, 0, .8);
    border-left: 8px solid transparent;
  }
  &:before {
    position: absolute;
    top: 6px;
    left: @header-drop-width / 2 - 9px;
    display: block;
    width: 0;
    content: '';
    border-right: 9px solid transparent;
    border-bottom: 9px solid @brown-color;
    border-left: 9px solid transparent;
  }
}
.header-drop-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid @brown-color;
  border-radius: 2px;
  border-radius: 6px;
  background: #000;
  background: rgba(0, 0, 0, .8);
}
.header-drop-item {
  position: relative;
  border-top: 1px solid @brown-color;

  &:first-child {
    position: relative;
    border-top: none;
  }
  &._hot a:after {
    width: 24px;
    height: 20px;
    position: absolute;
    margin-top: 4px;
    margin-left: 6px;
    content: '';
    animation: tip 1.4s linear infinite;
    background: data-uri('../img/hot.png') no-repeat center center;
  }
  &._new a:after {
    width: 24px;
    height: 20px;
    position: absolute;
    margin-top: 4px;
    margin-left: 6px;
    content: '';
    animation: tip 1.4s linear infinite;
    background: data-uri('../img/new.png') no-repeat center center;
  }
  > a {
    line-height: 44px;
    display: block;
    height: 44px;
    padding: 0 15px;
    transition: all .2s;
    color: @yellow-color;
    .text-overflow();

    &:hover {
      color: #fff;
      background: @darkred-color;
    }
  }
}

/* /header-nav */
@keyframes tip {
  0%, to {
    transform: translateY(0);
  }
  25% {
    transform: translateY(2px);
  }
  75% {
    transform: translateY(-2px);
  }
}
@media only screen and (max-width:1200px) and (min-width:0) {
  #header {
    // background: data-uri('../img/header.png') no-repeat top center;
    background-position: -400px 0;
  }
}

.btn-info {
  color: #3c1709 !important;
  
  &:active,
  &:focus {
    color: #3c1709;
  }
}